/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "theme";

:host {
  display: block;
  background: @component-background;
  padding: 16px 24px 0;
  border-bottom: 1px solid @border-color-split;
  margin: -24px -24px 0px;
}

.wrapper {
  position: relative;
}

.name {
  h2, flink-job-badge {
    display: inline-block;
  }

  nz-divider {
    margin: 0 24px;
  }
}

.field {
  display: flex;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 12px;

  div {
    line-height: 22px;

    &:last-child {
      margin-left: 8px;
      font-weight: 700;
      color: @heading-color;
    }
  }
}

.status {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 12px 0 12px;
  border: 1px solid @border-color-split;
  background: darken(@component-background, 1%);

  nz-divider {
    margin: 0 24px;
  }
}

flink-navigation {
  margin-bottom: -1px;
  display: block;
}

